<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@page import="com.entity.ziduan"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<script src="https://cdn.staticfile.org/vue/2.2.2/vue.min.js"></script>
<script src="http://how2j.cn/study/js/jquery/2.0.0/jquery.min.js"></script>
<link href="http://how2j.cn/study/css/bootstrap/3.3.6/bootstrap.min.css" rel="stylesheet">
<script src="http://how2j.cn/study/js/bootstrap/3.3.6/bootstrap.min.js"></script>

<style>
  #mianban{
      width: 1000px;
      margin: 0 auto;
  }


</style> 

</head>
<body>
<div class="panel panel-info" id="mianban">
  <div class="panel-heading">插入数据到表${tablename}</div>
  <div class="panel-body">
  <form id="form" action="insertrow.action?tablename=${tablename}" method="post">
  <c:forEach items="${ziduans}" var="temp">
  <table>
  <tr>
  <td> ${temp.ziduanname}:</td><td><input type="text" class="form-control" name="${temp.ziduanname}" style="width:300px"> </td>
   </tr>
   <br>
  </table>
  </c:forEach>
   <br>
  <div style="margin:0 auto;text-align: center">
   <button type="submit" class="btn btn-success" onclick="tj()">确认插入此条数据</button>
   </div>
   
  </div>

</body>

</html>